
using System.Collections.Generic;
using foundation;

public class O1ConditionVO
{
    public string id;
    public string opera;
    public object value;
}


public class O1CheckResultVO
{
    public O1ConditionVO conditon;
    public O1LimitVO limit;
    public object target;
    public BaseModel model;
    public O1CheckResultVO(BaseModel model, O1LimitVO limit, object target, O1ConditionVO conditon)
    {
        this.model = model;
        this.limit = limit;
        this.target = target;
        this.conditon = conditon;
    }
}


public class O1LimitVO
{
    public string module;
    public O1ConditionVO filter;
    public List<O1ConditionVO> conditions;
}

public class CodeExecBaseVO
{
    // public ushort type;
}


public class CodePropertyVO : CodeExecBaseVO
{
    public string[] propertys;
}

public class CodeFunctionVO : CodeExecBaseVO
{
    public string name;
    public object[] propertys;
}

public class CodeCalcVO : CodeExecBaseVO
{
    public object self;
    public string symbol;
    public object target;
}


public class ConditionItem
{
    public object module;
    public object model;
    public object target;
    public O1LimitVO limit;
    public O1ConditionVO condition;
    public object count;
    public object needcount;

}


public class CountConditionVO
{
    public string id = "";

    public uint count = 0;
  
}